package com.ruoyi.pay.config;

import java.math.BigDecimal;

public interface GoodsConstant {

    enum Goods {
        ID_1(1, "余额充值","100");
        private final String name;
        private final String amount ;
        private final int id;

        // 构造方法
         Goods( int id, String name,  String amount) {
            this.name = name;
            this.id = id;
            this.amount = amount;
        }

        public String getName() {
            return name;
        }

        public String getAmount() {
            return amount;
        }

        public int getId() {
            return id;
        }
        @Override
        public String toString() {
            return this.id+":"+this.name;
        }
    }

}
